#!/usr/bin/python3 

from tkinter import *

app = Tk()
app.title("Tk Gui Label")

#label = Label(app, text="tkinter component label here") # put this label in app

# the following not work
#label = Label(app)# put this label in app
#label.text="tkinter component label here" 
photo = PhotoImage(file='example.gif')
imgLabel = Label(app, justify=LEFT, text="background is \nthe image", compound=CENTER, image=photo)

#label.pack(side=LEFT) 
imgLabel.pack()

app.mainloop()

